package com.hefu.virtuallife.utils;

import android.widget.Toast;


import com.hefu.virtuallife.App;


/**
 * Created by sunxx on 2016/8/3.
 */
public class ToastUtils {

    private static ToastUtils toastUtils;

    private ToastUtils() {
    }

    public static ToastUtils getInstance() {
        if (toastUtils == null) {
            toastUtils = new ToastUtils();
        }
        return toastUtils;
    }

    public void show(String str) {
        Toast.makeText(App.getContext(), str, Toast.LENGTH_LONG).show();
    }
}
